package fatworm.parser.syntree;
/**
 * syntax where node
 * represent value cop all ( sub_query )
 */
public class WhereCopAllNode extends WhereNode{
	public fatworm.concept.RelOp relop;
	public ValueNode value;
	public SelectNode subquery;
	public WhereCopAllNode( fatworm.concept.RelOp relop , ValueNode value , SelectNode subquery ){
		this.relop = relop; this.value = value; this.subquery = subquery;
	}
	public String toString(){
		return value + relop.toString() + " all ("+ subquery+")";
	}
	public void accept( IWhereVisitor visitor ){
		visitor.visit( this );
	}
}
